package it.lupo.model;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public class BaseEntity<I> implements Serializable {

	private static final long serialVersionUID = -7182500375754872910L;
	
	@Id
	private I id;
	
	public BaseEntity(){}
	
	public BaseEntity(I id) {
		super();
		this.id = id;
	}

	public I getId() {
		return id;
	}

	public void setId(I id) {
		this.id = id;
	}
	
	
}
